<?php
namespace App\Domain\Lendhist;

use Illuminate\Support\ServiceProvider;

class LendhistServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\Lendhist\Service\LendhistService',
            'App\Domain\Lendhist\Service\LendhistServiceImpl'
        );
        $this->app->singleton('lendhistService', function () {
            return $this->app->make('App\Domain\Lendhist\Service\LendhistService');
        });
    }
}
